<form class="Welcome" method="post" action="Authenticate">
<h1><?php echo _s($this->getTitle()); ?> 

	<span class="LoginForm">
		<div class="Down"></div>
		<ul>
			<li>
				<label>Password : <input type="password" name="auth[0][password]" /></label>
				<label>Email : <input type="text" name="auth[0][email]" /></label>
				<input type="hidden" name="auth[0][kind]" value="Basic" />
				<div style="clear: both"></div>
			</li>
			<li>
				<label>OpenID : <input type="text" class="OpenID" name="auth[1][openid]" /></label>
				<input type="hidden" name="auth[1][kind]" value="OpenID" />
				<div style="clear: both"></div>
			</li>
		</ul>
		<label><input type="checkbox" checked="true" name="remembrance" title="Remember me" /></label>
		<a onclick="$(this).closest( 'form' ).submit()" class="Button">Sign in</a>
		<input type="submit" class="Submit" />
	</span>
</h1>

<input type="hidden" name="Action_Authenticate" value="true" />
</form>

<div class="Background">
<div class="Welcome Panel">

	<div class="Left Column">
	</div>
	
	<div class="Right Column">
	<div class="Registration Box">
		<h3>Register</h3>
		<div class="Content Form">
		
			<p>Please, fill in those information.</p>
		
			<form method="post" action="Register">
				<input type="hidden" name="Action_Register" value="true" />
				<input type="hidden" name="kind" value="Basic" />
				<h4>Personal data</h4>
				<dl>
					<dt>First name:</dt>
					<dd><input type="text" name="first_name" /></dd>
					<dt>Last name:</dt>
					<dd><input type="text" name="last_name" /></dd>
					<dt>Email:</dt>
					<dd><input type="text" name="email" /></dd>
				</dl>

				<?php echo $this->getTabPane()->process(); ?>
				
				<h4>Agreement</h4>
				<dl>
					<dt></dt>
					<dd><label><input type="checkbox" name="agreement" />
					I have read the <a target="new" href="Agreement">terms of use</a>
					</label>
				</dl>
				<input type="submit" class="Submit" />
			</form>
		
	
			<a onclick="$(this).closest( '.Panel' ).find( 'form' ).submit()" class="Button">Register</a>
			<div style="clear: both"></div>
			
		</div>
	</div>
	
	</div>
	
	<div style="clear:both"></div>
</div>
</div>
